package com.xx.service;

import com.github.pagehelper.PageInfo;
import com.xx.entity.Products;
import com.xx.entity.ProductsDisplay;
import com.xx.vo.ProductsDisplayVO;

import java.util.List;


public interface IProductsService{

    List<ProductsDisplayVO> getListByProductId(List<Integer> productId);
    ProductsDisplay queryById(Integer productId);

    PageInfo<ProductsDisplay> queryByPage(Products products, Integer pageNum);

    int insert(Products products);

    int update(Products products);

    int deleteById(Integer productId);

    String selectImageUrl(Integer productId);
}
